<!DOCTYPE HTML>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>广东机电职业技术学院 汽车学院</title>
<link rel="stylesheet" type="text/css" href="{CSS_PATH}css/firstpage.css">
<link rel="stylesheet" type="text/css" href="{CSS_PATH}css/secondpage.css">
<link rel="stylesheet" type="text/css" href="{CSS_PATH}css/total.css">
<link rel="stylesheet" type="text/css" href="{CSS_PATH}css/grid.css">
<link rel="stylesheet" type="text/css" href="{CSS_PATH}css/intranet.css">
<script src="{JS_PATH}js/navntab.js" type="text/javascript"></script>
<script type="text/javascript" src="{JS_PATH}jquery.min.js"></script>
<style>
    #pages { padding:14px 0 10px; font-family:宋体 }
#pages a { display:inline-block; height:22px; line-height:22px; background:#fff; border:1px solid #e3e3e3; text-align:center; color:#333; padding:0 10px;text-decoration:none }
#pages a.a1 { background:url(../images/admin_img/pages.png) no-repeat 0 5px; width:56px; padding:0 }
#pages a:hover { background:#f1f1f1; color:#000; text-decoration:none }
#tab a{color: #2c6dad;text-decoration: none;}
#tab a:hover{color: #ffffff;}
</style>
</head>

<body>
    <div id="header">
        <a id="logo" href="http://www.gdmec.cn/"><img alt="header" width="370" height="113" src="{IMG_PATH}img/logo1.gif"/></a>
    </div>

        <?php
function menu($rootid){
  ?>
  {pc:content action="category" catid="$rootid" siteid="$siteid" order="listorder ASC"}
    {loop $data $r}
        <?php
        if(count($data) == 0){
        return;
        }
        $c = $r['arrchildid'];
        $c = explode(',',$c);
        if(count($c) != 1){
        ?>
        <li onmouseover="displaySubMenu(this)" onmouseout="hideSubMenu(this)">
        <a href="{$r[url]}">{$r[catname]}</a>
        <ul>
        <?php menu($r['catid']);?>
        </ul>
        </li>
        <?php
        }else if(count($c) == 1){
        ?>
        <li><a href="{$r[url]}">{$r[catname]}</a></li>
        <?php
        }
        ?>
        {/loop}
        {/pc}
        <?php 
        }
?>
<div id="menu">
    <ul id="navigation">
        <li ><a href="{APP_PATH}index.php">首页</a></li>
    <?php menu('0');?>
  </ul>
</div>